package com.jsmtr.rms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Base_UserRole")
public class BaseUserRole {

    @Id
    @Column(nullable = false, length = 50)
    private String id; // id

    @Column(nullable = false, length = 50)
    private String userid; // 用户ID

    @Column(nullable = false, length = 50)
    private String roleid; // 角色ID

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getRoleid() {
        return roleid;
    }

    public void setRoleid(String roleid) {
        this.roleid = roleid;
    }
}